<%@page import="org.eng2.model.ClientePremiado"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<style type="text/css">
<%@ include file="../../resources/css/bootstrap.min.css"%>
</style>
</head>
<body>

<%@include file="/shared/top.jsp"%>

<div class="container">

		<!-- Main component for a primary marketing message or call to action -->
		<div class="jumbotron">
			<h1>Clientes Premiados</h1>
			<div>
			<table id="fbpratos" class="table-bordered" style="width: 100%;">
				<thead>
					<tr>
						<th>Cod_token</th>
						<th>Numero mesa</th>
						<th>Valor da Conta</th>
					</tr>
				</thead>
				<tbody>
					<% for(ClientePremiado cp: (ArrayList<ClientePremiado>) request.getAttribute("clientes_premiados")){ %>
					<tr>
					<td><%= cp.getCod_token() %></td>
					<td><%= cp.getNum_mesa() %></td>
					<td><%= cp.getTotal() %></td>
					<%} %>
				</tbody>
			</table>
		</div>
		</div>
		
	</div>
	<!-- /container -->

	<script type="text/javascript">
		
	<%@include file="../../resources/js/jquery.js" %>
		
	<%@include file="../../resources/js/bootstrap.min.js" %>
	console.log("teste")
	
	</script>

</body>
</html>